package com.shhic.hhplt.server.model;

public enum TestResultEnum {
	PASS {
		@Override
		public String toText() {
			return "通过";
		}
	},FAIL {
		@Override
		public String toText() {
			return "不通过";
		}
	},UNTESTED {
		@Override
		public String toText() {
			return "未测试";
		}
	},TESTING {
		@Override
		public String toText() {
			return "正在测试";
		}
	};
	
	
	public static TestResultEnum fromStr(String name){
		return valueOf(name);
	}
	
	public abstract String toText();
}
